package cn.melonlib.cores.commons.comp.web.anno;

import cn.melonlib.cores.commons.model.entity.IEntity;

import java.io.Serializable;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

@Documented
@Target(TYPE)
@Retention(RUNTIME)
public @interface EntityConfig {
    String searchParamsPrefix() default "filter";
    String formParamsPrefix() default "";
    String sortFields() default "id";
    String saveSuccess() default "保存成功";
    String removeSuccess() default "删除成功";
}
